// import DashBoard from './DashBoard/DashBoard'
// import NotFound from './NotFound/NotFound'
// import Users from './Users/Users'
// import SysSetting from './SysSetting/SysSetting'
import React from 'react'
import Loadable from 'react-loadable'
const Loading = () => <div>加载中....</div>
const DashBoard = Loadable({
  loader: () => import('./DashBoard/DashBoard'),
  loading: Loading,
});

const NotFound = Loadable({
  loader: () => import('./NotFound/NotFound'),
  loading: Loading,
});

const Users = Loadable({
  loader: () => import('./Users/Users'),
  loading: Loading,
});

const UserEdit = Loadable({
  loader: () => import('./Users/UserEdit'),
  loading: Loading,
});

const SysSetting = Loadable({
  loader: () => import('./SysSetting/SysSetting'),
  loading: Loading,
});
export { DashBoard, NotFound, Users, SysSetting, UserEdit }
